package org.tis.tools.senior.module.developer.controller.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Set;

/**
 * description:
 *
 * @author lijh
 * @date 2018/10/09
 **/
@Data
public class RepealAddRequest {

    @NotNull(message = "工作项的guid不能为空")
    private Integer guidWorkitem;

    @NotNull(message = "运行环境guid不能为空")
    private Integer guidProfiles;

    @NotEmpty(message = "要延期的代码guid集合不能为空")
    private Set<Integer> guidStandarLists;

    @NotBlank(message = "回退说明不能为空")
    private String repealDesc;
}
